package com.bl.weilan.dao.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Data
@Table(name = "institution_team")
@ApiModel(value = "InstitutionTeamEntity", description = "机构管理团队")
@DynamicInsert
@DynamicUpdate
public class InstitutionTeamEntity {
    @Id
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "名字")
    private String name;

    @ApiModelProperty(value = "团队头衔")
    private String title;

    @ApiModelProperty(value = "机构id")
    @Column(name = "institution_id")
    private String institutionId;

    @ApiModelProperty(value = "人物id")
    @Column(name = "people_id")
    private String peopleId;

    @ApiModelProperty(value = "权重")
    private int weight;
}
